Repository navigation
Record: lazy OME-Zarr reads on real data (#529) - #571
Draft
guijacquemet wants to merge 2 commits into
Draft
guijacquemet wants to merge 2 commits into
guijacquemet wants to merge 2 commits into
Conversation
Measure only: windows, map_windows, read_xyc_plane, blocks, histograms and previews on five public OME-NGFF 0.4/0.5 stores (three sharded). Every output equals an eager zarr read. Defects filed as #569 and #570. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
This was referenced Nov 26, 2026
[Sad Catapella B3][Performance] Misaligned Zarr block reads may decode the same chunk repeatedly
#78
Open
run_ebi.sh and run_rest.sh now take the data and output directories from ZARR529_DATA and ZARR529_OUT (required, with clear errors) and the interpreter from ZARR529_PYTHON. README and the archive record describe the variables. The results JSON already holds only relative store paths and no scratch paths; no measured numbers changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WX6rdMV1r5jUPUR94kxV5a
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a measure-only record for #529.
srcis unchanged, and it is not part of the v0.9.0 release.Added:
docs/archive/2026-11-26-lazy-zarr-realdata.md: the record.docs/benchmark_results/2026-11-26-lazy-zarr-realdata.json: every measured number and digest summary.experiments/lazy_zarr_realdata/: the download, measurement and eager-check scripts, as run.Stores, all public, level 0 only, 574 MiB downloaded and deleted after the run:
uint16, sharded.uint8, one shard.marmoset_neuronsas NGFF 0.4 (zarr v2) and as 0.5 (zarr v3): the same pixels.IDR's
uk1s3.embassy.ebi.ac.ukwas unreachable from here: the TLS handshake was reset after CONNECT.Results (
mainat316be56, zarr 3.4.2, Python 3.13.18):map_windows. Peak RSS is 0.19 to 0.87 of the plan after warm-up. Withcache_plan's cache, each chunk is decoded once (ebi: 2209 = 47²). On a cold process, a small 4-worker plan reaches 1.06 to 1.17 in RSS. The traced peak is 0.77 to 0.79, so the extra is process-wide first use (noted on Memory estimates: verify the bound for imagecodecs codecs, the plane block reader and objects_read_plan #342).read_xyc_plane. Peaks are 0.04 to 0.92 of the estimate.read_planego over the memory limit: traced up to 1.22× the limit, RSS up to 1.65×. Filed as OME-Zarr whole-plane, preview and block reads exceed memory_limit on real data (chunk counted once) #569.map_windowswith more workers is slower on these stores. With 4 workers:ebi8.90 s against 5.70 s, marmoset 3.53 s against 1.13 s, with identical outputs. Filed as map_windows over real OME-Zarr stores is slower with more workers (cached chunk-by-chunk reads) #570; the fingerprint-walk part is measured on [Lazy Sunday B2][Performance] Run-backed OME-Zarr windows repeatedly walk/stat the entire store during planning and each read #378.Not covered: level reads,
RunInputsrun folders, labels and reordered axes, remote stores, zarr-python 2.18. See the record.Checks:
ruff checkandruff format --checkpass on the added scripts. No tests were run, since no code insrcortestschanged.Generated by Claude Code